package com.glink.manage.dto.temporaryadmission;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDate3DeSerializer;
import com.glink.common.serializer.JsonDate3Serializer;
import com.glink.common.vo.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * 临时准入，分页查询
 * @Author : qiushaoshan
 * @create 2025/3/4 10:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TemporaryAdmissionPageDTO extends PageVO implements Serializable {

    private static final long serialVersionUID = -4866823598900234909L;

    @ApiModelProperty(value = "姓名/车牌号")
    private String searchStr;
 
    @ApiModelProperty(value = "准入周期开始")
    @JsonSerialize(using = JsonDate3Serializer.class)
    @JsonDeserialize(using = JsonDate3DeSerializer.class)
    private Date cycleStart;

    @ApiModelProperty(value = "准入周期结束")
    @JsonSerialize(using = JsonDate3Serializer.class)
    @JsonDeserialize(using = JsonDate3DeSerializer.class)
    private Date cycleEnd;

    @ApiModelProperty(value = "准入状态:code:AccessStatus")
    private String accessStatus;
}
